Socket
Socket
Sign inDemoInstall

lzz-gyp

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lzz-gyp

Lazycplusplus integration for native nodejs addons.


Version published
Weekly downloads
700
increased by17.06%
Maintainers
1
Weekly downloads
 
Created
Source

lzz-gyp

Lazycplusplus integration for native nodejs addons.

Installation

npm install --save lzz-gyp

Usage

In your package.json file, use a custom install script similar to this:

var lzz = require('lzz-gyp');
lzz(['-d', '-hl', '-sl', '-e', './src/myproject.lzz'], __dirname).catch(function (err) {
	console.error(err);
	process.exit(1);
});

API

lzz(args, moduleDir, [debug]) -> promise

Builds the lzz source code by passing args to lazycplusplus and returns a promise. The working directory of both lazycplusplus and node-gyp are set to moduleDir (this should generally be your module's root directory).

By default, the node-gyp --debug flag is set based on process.env.NODE_ENV !== 'production, but you can override this by passing a boolean to the debug argument.

License

The files included in /lzz-source and /lzz-compiled are part of the lazycplusplus project, by Mike Spencer, under the GNU GPL Version 3 license.

All other files are part of the lzz-gyp project, by Joshua Wise, also under the GNU GPL Version 3 license.

Using this package as an dependency in your nodejs project does not obligate you to license that project under a GPL-compatible license because your project would be considered "output" of lzz-gyp and not necessarily a "covered work".

Keywords

FAQs

Package last updated on 23 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc